#include<bits/stdc++.h>
#define endl "\n"
#define IOS ios::sync_with_stdio(false), cin.tie(0), cout.tie(0)
using namespace std;

int main() {
	IOS;
	int n, m;
	cin >> n >> m;
	int a[n + 10];
	
	for(int i = 1; i <= n; i ++ ) {
		cin >> a[i]; 	
	}
	int dp1[n + 10];
	for(int i = 2; i <= n; i ++ ) {
		
	}
	return 0;
}

